package com.shoponline.service.impl;

import com.shoponline.dao.UserDAO;
import com.shoponline.dao.UserDAOTest;
import com.shoponline.po.User;
import com.shoponline.service.LoginService;

public class LoginServiceImp implements LoginService{

	private UserDAO userDAO;
	
	@Override
	public User CheckLogin(String email,String password) {
		
		return userDAO.checkLogin(email, password);
		
	}

	public UserDAO getUserDAO() {
		return userDAO;
	}

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}
	
	

}
